package com.mediastory.spsserver.api.service;

import java.util.List;
import java.util.Map;

import com.mediastory.spsserver.api.domain.Content_v1_0;

/**
 * @author Jaewon Choi
 *
 */
public interface ApiSvc {
	
	public List<Object> findbyListCategory(Map<String, Object> condition) throws Exception;
	
	public List<Object> findbyListInCont(Map<String, Object> condition) throws Exception;
	public List<Content_v1_0> findbyListInCont2(Map<String, Object> condition) throws Exception;
	
	public Map<String, Object> findbyListPagingInCont(Map<String, Object> condition) throws Exception;
	
	public List<Object> findbyListMainCont(Map<String, Object> condition) throws Exception;
	
	public String findbyNoticeIsNew(Map<String, Object> condition) throws Exception;
	
	public Object findbyNotice(Map<String, Object> condition) throws Exception;
	
	public List<Object> findbyNoticeList(Map<String, Object> condition) throws Exception;
	
	public Object findbyInfo(Map<String, Object> condition) throws Exception;
	
	public Map<String, Object> findbyVerMngr(Map<String, Object> condition) throws Exception;

	public List<Object> findbyListAdvertising(Map<String, Object> condition) throws Exception;
	
	public List<Object> findbyListPayContAndroid(Map<String, Object> condition) throws Exception;
	
	public List<Object> findbyListPayContIos(Map<String, Object> condition) throws Exception;
	
	public List<Object> findbyListGuide(Map<String, Object> condition) throws Exception;
	
	public int addGcmDevice(Map<String, Object> condition) throws Exception;
	
	public int removeGcmDevice(Map<String, Object> condition) throws Exception;
	
	public int addApnsDevice(Map<String, Object> condition) throws Exception;
	
	public int removeApnsDevice(Map<String, Object> condition) throws Exception;
	
	public Integer findbyAppSeqId() throws Exception;
	
	public Object findbyUrgencyNotice(Map<String, Object> condition) throws Exception ;
	
	public Map<String, Object> findbyVerMngr2(Map<String, Object> condition) throws Exception;
	
	public Integer addContent(Map<String, Object> contData) throws Exception;
	
	public int updateContent(Map<String, Object> contData) throws Exception;
	
	public Integer addComment(Map<String, Object> contData) throws Exception;
	
	public int updateComment(Map<String, Object> contData) throws Exception;
	
	public List<Object> findbyListInComment(Map<String, Object> condition) throws Exception;
	
	//로깅
	public Integer addLogInfo(Map<String, Object> logInfo) throws Exception;
	
	public int addLogging(Map<String, Object> logData) throws Exception;
	
	//구매정보 
	public int addPurchaseData(Map<String, Object> logData) throws Exception;
	
	
}